#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <fstream>
#include <iostream>
#include <armadillo>
#include <iomanip>
#include <vector>
#include <algorithm>    // std::sort

using namespace std;
using namespace arma;

#include "features_def.hpp"
#include "features_impl.hpp"




uword ro = 120;
uword co = 160;


//NICTA
//const std::string single_path = "/home/johanna/codes/multi-actions/kth_single_action/"; 
//const std::string multi_path = "/home/johanna/codes/multi-actions/kth_multi_allVideos/stitched_dataset_run1/"; 

//home
const std::string single_path = "/home/johanna/codes/multi-action/kth_single_action/"; 
const std::string multi_path = "/home/johanna/codes/multi-action/kth_multi_allVideos/stitched_dataset_run1/";


const std::string  actionNames = "actionNames.txt";



int
main(int argc, char** argv)
{
  
  uvec rand_videos; 
  rand_videos.load("rand_selection_run1.dat");
  
  
  uvec peo_train = rand_videos.subvec (0,15);
  uvec peo_test  = rand_videos.subvec (16,24);
  
  features my_features(single_path, multi_path, actionNames, co, ro, peo_train, peo_test);
  my_features.feature_multi_action( );
  
  

  

  
  
  ///Testing Multi-Action
  
  
  
  return 0;
  
}



